class Context < ActiveRecord::Base
  belongs_to :artifact
  belongs_to :user
  
  def self.destroy_all(user, context)
    context.each do |c|
      Recent.add(c.artifact,user)
      c.destroy
    end
  end
end
